import App from './App'
import {myRequest} from "./until/api.js"
// 引入模块socket
import io from './components/socket/weapp.socket.io.js'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
})
app.$mount()
// #endif
Vue.prototype.socket = io('http://localhost:8088/')
Vue.prototype.$myRequest = myRequest
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif